package qc.module.qms.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.qms.entity.QmsStationCategoryRelation;
import qc.module.qms.dto.station.StationCategoryRelationDto;

import java.util.List;

@Mapper
public interface QmsStationCategoryRelationMapper {
    QmsStationCategoryRelationMapper MAPPER = Mappers.getMapper(QmsStationCategoryRelationMapper.class);

    StationCategoryRelationDto toDto(QmsStationCategoryRelation entity);
    QmsStationCategoryRelation toEntity(StationCategoryRelationDto dto);
    List<StationCategoryRelationDto> toDtoList(List<QmsStationCategoryRelation> entities);
}